import java.util.LinkedList;

/**
 * Author: Daniel Michalski
 * Date: 10.03.13
 */

public class MailList {
    public static void main(String[] args) {
        LinkedList<Address> ml = new LinkedList<Address>();

        ml.add(new Address("Jan Kowalski", "Klonowa 11",
                           "Warszawa", "mazowieckie", "00-591"));
        ml.add(new Address("Danuta Sroka", "Fojkisa 43/2",
                           "Ruda Sląska", "śląskie", "41-700"));
        ml.add(new Address("Priotr Nowak", "Zwycięstwa 345",
                           "Kraków", "małopolskie", "41-563"));

        for (Address element : ml)
            System.out.println(element);
    }
}
